Conversation
… metadata tables
…table that has `usize` as key
| }}; | ||
| } | ||
|
|
||
| macro_rules! record_defaulted { |
There was a problem hiding this comment.
Naming of those two macros is debatable, I am not sure that it 100% fits them.
|
r? @Zalathar , for example, I've seen you refactoring the metadata infra recently |
|
|
|
Could you explain more about From the PR description and commit message, I wasn't able to get a good sense of why this change is desirable, or whether it's even correct. |
It was the only table that has |
|
So if I understand correctly:
If so, could you please update the commit message and PR description to clearly explain the reasoning to future maintainers, and remove the misleading stuff about usize? |
Two refactorings that were extracted from #162809:
proc_macro_quoted_spanstable intoproc_macro_dataas it is filled only for proc macro crate and it is the only table in tables that haveusizeas key, all other tables haveDefIndexas key.r? @petrochenkov